body {
  margin: auto;
  position: relative;
  overflow: none;

  /* Use System Fonts */
  font-family:
    -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif
    !important;
}


#photon-window {
  z-index: 400;
}

path {
  stroke: #fff;
  fill-rule: evenodd;
}

circle,
path {

}

circle {
  pointer-events: all;
  fill: #eee;
  opacity: 0.2;
}

circle:hover {
  fill: none;
}

#core:hover {
  opacity: 0.5;
  cursor: pointer;
}

/* treemap */

rect {
  fill: none;
  pointer-events: all;
}

pre {
  font-size: 18px;
}

line {
  stroke: #000;
  stroke-width: 1.5px;
}

.string, .regexp {
  color: #f39;
}

.keyword {
  color: #00c;
}

.comment {
  color: #777;
  font-style: oblique;
}

.number {
  color: #369;
}

.class, .special {
  color: #1181B8;
}

/* end treemap */

.cell > rect:hover {
  fill: yellow;
}

/* legend */

#explanation {
  position: absolute;
  /*top: 260px;
  left: 305px*/;
  width: 140px;
  height: 140px;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  color: #333;
  z-index: -1;
  /*z-index: -1;*/

  font-weight: 200;
}

#core_top {
  font-size: 1.3em;
}

#core_center {
  font-size: 2em;
}

#legend {
  text-align:center;
  padding-top:20px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 50;
  background: #ddd;
  display: none;
}

#legend h2 {
  font-size:1.2em;
  font-style:inherit;
  margin: 0;
  padding: 0;
  /*text-transform: uppercase;
  font-variant:small-caps;*/
}
#legend p {
  font-size:.9em;
  margin: 0;
  padding: 0;
}

#loading {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  display: inline-block;
  margin: auto;
  z-index: 250;
  width: 100px;
  height: 100px;
  display: none;
}

.area {
  /*opacity: 0.8;*/
  cursor: pointer;
}

.area:hover {
  stroke: #999;
  stroke-width: 2px;
  opacity: 1;
}

.svg-container {
    display: inline-block;
    position: relative;
    width: 100%;
    /*padding-bottom: 100%;*/ /* aspect ratio */
    vertical-align: top;
    overflow: hidden;
}

.svg-content-responsive {
    display: inline-block;
    position: absolute;
    /*top: 10px;*/
    /*left: 0;*/
}

#sequence {
  /*display: inline-block;*/
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;
  /*width: 600px;
  height: 70px;*/
}


#chart {
  position: relative;
}

#chart path {
  stroke: #fff;
}

/* Center aligned Flex Box */

.Aligner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Aligner-item {
  max-width: 50%;
  background: #ddd;
  opacity: 1;
  border-radius: 4px;
}

.Aligner-item--top {
  align-self: flex-start;
}

.Aligner-item--bottom {
  align-self: flex-end;
}

#shades {
  z-index: 200;
  width: 100%;
  height: 100%;
  background: #333;
  /*opacity: 0.3;*/
  position: absolute;
  display: none;

}

#promptbox {
  width: 100%;
  height: 400px;
  text-align: center;
  padding: 20px;
  height: 200px;
}


#bottom_status {
  overflow: hidden;
  text-overflow: ellipsis;
  /* todo some kind of flex width */
}